package client;

import java.io.*;
import java.net.*;

class Receive extends Thread
{
    Client client;
    Receive(Client client)
    {
        this.client = client;
    }

    public void run()
    {
        String msg;
        try {
            while((msg = client.in.readLine()) != null) {
                System.out.println(msg);
            }
        } catch (IOException e) {}
    }
}
